package global

import (
	"github.com/rs/zerolog"
	"go-api/conf"
)

type Global struct {
	Conf   *conf.Conf
	ApiLog zerolog.Logger
}

func NewGlobal(c *conf.Conf, l zerolog.Logger) *Global {
	g := &Global{
		Conf:   c,
		ApiLog: l,
	}

	return g
}
